home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / language / dino / dino_bot.1 / source / shell / dino.init.example < prev    next >
Encoding:
Text File  |  1991-05-13  |  5.2 KB  |  129 lines

  1.  
  2. # Copyright, 1990, Regents of the University of Colorado
  3. #
  4. # This is a Bourne shell script that contains the local setup
  5. # information needed to run DINO.  Any local information should
  6. # in this shell script, as the "dino" shell script may be
  7. # automatically replaced on an update.
  8. #
  9.  
  10. #
  11. # Fill in the following variable with the home directory of
  12. # the DINO files.
  13. #
  14. # (On our system, this is the home directory for dino)
  15. #
  16. Dhome=/anchor/research/dino
  17.  
  18. #
  19. # The Dmachs variable contains five words for each (virtual) parallel
  20. # machine that DINO programs run on.  The words can be seperated by
  21. # spaces, tabs, or newlines.
  22. #
  23. # The first word is the name of the machine.
  24. #
  25. # The second word is the address of the machine. Usually, for a
  26. # remote machine where there is only one defined virtual machine for
  27. # the physical machine, that will be the same as the name.  For the
  28. # case when the parallel machine is the same as the machine that the
  29. # compiler is being run on the address is "." (e.g., a simulator)..
  30. #
  31. # The third word is the name of the user on the parallel machine.
  32. # If the user name is the same as the user running the compiler,
  33. # the name is "~".
  34. #
  35. # The fourth word is the directory that should be used on the
  36. # parallel machine.  "~" is the home directory of the user.  "."
  37. # is the current directory (this option can only be used if the parallel
  38. # machine is the same as the machine that the compiler is being run on
  39. # or the user file systems are cross-mounted).  Relative pathnames are
  40. # interperted with respect to the user's home directory.  These options
  41. # can be combined, e.g., "./test" is legal.
  42. #
  43. # The fifth word is a seven character descriptor that tells the shell
  44. # how the machine is configured.  The characters have the following
  45. # meaning:
  46. #
  47. #    1st -- the type of machine where "s" is an iPSC1 simulator,
  48. #           "S" is an iPSC2 simulator, "1" is an iPSC1, "2" is an
  49. #           iPSC2, "8" is the i860 version of iPSC2, and "G" is
  50. #           the distributed Sun version.
  51. #    2nd -- the maximum number of dimensions of the machine.
  52. #    3rd -- whether DINO should do an rcp (T) to get the C files
  53. #           to the parallel machine or do a cp (F).  The latter
  54. #           option is used where the sun files are also cross-mounted
  55. #           on the parallel machine or the parallel machine runs on
  56. #           the sun (as in a simulator).
  57. #    4th -- whether DINO should call the back end of DINO (dino2) with
  58. #           an "rsh" to finish the compilation (T) or just use a local
  59. #           call (F).
  60. #    5th -- Whether DINO should try to interact with the parallel
  61. #           machine at all (T), should leave it entirely to the user (F),
  62. #           or should carry out some special instructions (S).  In
  63. #           this last case, the appropriate part of the case statement
  64. #           in the "dino.special" file must be filled in with the
  65. #           appropriate command.  See Section 7.3 for more information
  66. #           on this.
  67. #    6th -- Whether the parallel machine supports "rcp -p" (T) or just
  68. #           "rcp" (F).  In the latter case, DINO cannot check to see if
  69. #           the executibles are out of date and does the second
  70. #           compilation all the time.  This is usually the case for
  71. #           the iPSC1.
  72. #    7th -- the default number of dimensions of the machine.
  73. #           Typically this will be the same as the 2nd but it
  74. #           can be less.
  75. #
  76. # The five words for different machines can be separated with a space,
  77. # tab, or newline.  The entire variable must be enclosed in quotes.
  78. #
  79. # (We provide two examples.  cubie is our iPSC1 and bud is our
  80. #  iPSC2.  Both are simply on our network and all users have
  81. #  accounts on the suns as well as both hypercubes.)
  82. #
  83. Dmachs="cubie cubie ~ ~ 15TTTF4 \
  84.         bud bud ~ ~ 25TTTT4"
  85.  
  86. #
  87. # The lines following this that start with a "##" contain set-up
  88. # information that the Automated Installer needs.  DO NOT EDIT any
  89. # line beginning with "##".  DO NOT INSERT any new lines beginning
  90. # with "##" anywhere in this file.
  91. #
  92. # These lines tell the Automated Installer where on the remote
  93. # machine DINO is installed (and sometimes where on the local
  94. # machine DINO is installed -- if there are two directories).  The
  95. # directory is the installation directory. The meaning of the letters
  96. # in parenthesis are:
  97. #
  98. #    R -- installed on the remote machine
  99. #    L -- installed on the local machine (either a local parallel
  100. #         machine like a simulator or cross-mounted file systems)
  101. #    M -- installed on the local machine by DINO and manually put
  102. #         on the remote machine by the systems administrator.
  103. #    N -- not installed by DINO
  104. #
  105. ## cubie = (R) /usr/dino
  106. ## bud = (R) /usr/research/dino
  107.  
  108. #
  109. # Set other system defaults here.  Currently those defaults are
  110. # the default machine, the default suffixes for each machine,
  111. # default directories to examine for include files, and the default
  112. # boolean (on/off) options.
  113. #
  114. # You must define one of your parallel machines to be the default
  115. # machine.  That will be the one that users get if they do not
  116. # explicitly specify a machine.  Do this by setting "sDmachine"
  117. # to the name of the default machine.
  118. #
  119. # See the DINO User's Manual for more information on the other
  120. # system defaults.
  121. #
  122. sDmachine=cubie
  123.  
  124. #
  125. # Now, export everything you have set.
  126. #
  127. export Dhome Dmachs sDmachine
  128.  
  129.